﻿using System;
using System.ComponentModel.DataAnnotations;
using Lbb.DataAnnotations;
using Lbb.URating.Localization;

namespace Lbb.URating.DL
{
    [MetadataType(typeof(_U_ClickRating))]
    public partial class U_ClickRating
    {
    }
    internal class _U_ClickRating
    {
        [Display(ResourceType = typeof(U_ClickRatingRes), Name = "ObjectID")]
        [NRequired]
        [NStringLength(500)]
        public string ObjectID { get; set; }

        [Display(ResourceType = typeof(U_ClickRatingRes), Name = "ClickID")]
        [NRequired]
        public Guid ClickID { get; set; }

        [Display(ResourceType = typeof(U_ClickRatingRes), Name = "ClickCount")]
        public int? ClickCount { get; set; }

        [Display(ResourceType = typeof(U_ClickRatingRes), Name = "AverageRating")]
        public decimal? AverageRating { get; set; }
    }
}